package styledaco.servlet;

import java.io.IOException;
import java.util.ArrayList;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;

import comm.util.CommUtil;
import comm.util.RequestManager;
import comm.util.SoptHashMap;

public class SearchServlet extends HttpServlet{
	/**
	 * 
	 */
	private static final long serialVersionUID = -1794310474021304132L;
	private Logger logger = Logger.getLogger(SearchServlet.class);
	@Override
	protected void service(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		SoptHashMap hm = RequestManager.getRequest(request);
		String m = CommUtil.NVL(hm.get("M"),"");
		RequestDispatcher dispatcher = getServletConfig().getServletContext().getRequestDispatcher("/?m=Search");
		dispatcher.forward(request, response);
	}

}
